/**
 * CS 307 Red Cross Calendar
 * @author Kevin Barlow
 * @author David Barnes
 * @author Max Cohen
 * @author Yoongu Kang
 * @author Matt Lathrop
 * @author Thomas Maley
 */
package com.cs307.redcross.client;

import java.io.Serializable;
import java.util.Vector;



/**
 * A subclass of Person that represents a Volunteer
 */
public class Volunteer extends Person implements Serializable {
	private static final long serialVersionUID = 1L; // needed in order to implement Serializable
	
	/**
	 * Constructs a blank Volunteer object
	 */
	public Volunteer() {
		this("", "", "", "", "", "", "", "", null);
	}
	
	/**
	 * Constructs a Volunteer object with the given information
	 */
	public Volunteer(String firstName, String lastName, String email, String carrier, String cellPhoneNumber, String smsEmail, String username, String password, Vector<FreeTimeEvent> freeTimeEvents) {
		super(firstName, lastName, email, carrier, cellPhoneNumber, smsEmail, username, password, freeTimeEvents);
	}
	
	public Volunteer(String firstName, String lastName, String email, String carrier, String cellPhoneNumber, String smsEmail, String username, String password, Vector<FreeTimeEvent> freeTimeEvents, boolean enc) {
		super(firstName, lastName, email, carrier, cellPhoneNumber, smsEmail, username, password, freeTimeEvents, enc);
	}
	
	public Volunteer(Volunteer vol) {
		super(vol.firstName, vol.lastName, vol.email, vol.carrier, vol.cellPhoneNumber, vol.smsEmail, vol.username, vol.password, vol.freeTimeEvents);
	}

	@Override
	public void availability() {
		//TODO: not sure how this should be implemented
		
		// needs a getAllFreeTimeEvents() method in database handler
		
		
	}
}
